package com.yunsoft.notice.service.db.enums;

import com.fld.platform.db.mysql.enums.BaseEnum;

public enum NotifyEnum implements BaseEnum {
    //消息通知类型，0：公众号-openid，1：服务通知/订阅消息-openid，2：IOT推送-deviceId，3：邮件通知-email，4：短信通知-phone，5：APP推送-clientid，6：钉钉消息
    MP(0,"公众号模板消息"),
    MINI(1,"小程序服务通知/订阅消息"),
    ALIYUN(2,"阿里云IOT消息推送"),
    GETUI(3,"个推消息推送"),
    EMAIL(4,"邮件通知"),
    SMS(5,"短信通知"),
    APP(6,"APP推送"),
    DINGTALK(7,"钉钉消息推送"),
    TTS(8, "TTS消息推送");


    private final int value;
    private final String comment;

    private NotifyEnum(int value,String comment) {
        this.value = value;
        this.comment = comment;
    }

    @Override
    public String getName() {
        return this.name();
    }

    @Override
    public String getComment() {
        return this.comment;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }
}
